package cn.dnui_zjx523.dnuifood_16110100523.service;

import cn.dnui_zjx523.dnuifood_16110100523.bean.ResultBean;
import cn.dnui_zjx523.dnuifood_16110100523.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface Userservice {

    @GET("userLogin.do")
    Call<UserBean> doLogin(@Query("username")String username,
                           @Query("userpass")String userpass);
    @GET("userRegister.do")
    Call<ResultBean> doRegister(@Query("username")String username,
                                @Query("userpass")String userpass,
                                @Query("mobilenum")String mobilenum,
                                @Query("address")String address,
                                @Query("comment")String comment
    );
}
